services.openssh.knownHosts.<name>.extraHostNames

A list of additional host names and/or IP numbers used for accessing the host's ssh service. This list is ignored if hostNames is set explicitly.

Type
list of string
Default
[ ]
Declared
<nixpkgs/nixos/modules/programs/ssh.nix>